package com.haixiaoke.saas.house.service;

import com.haixiaoke.saas.house.domain.HousePicture;

import java.util.List;

/**
 * 房屋相册信息Service接口
 *
 * @author xiaolong
 * @date 2024-10-22
 */
public interface IHousePictureService {
    /**
     * 查询房屋相册信息
     *
     * @param housePictureId 房屋相册信息主键
     * @return 房屋相册信息
     */
    HousePicture selectHousePictureByHousePictureId(Long housePictureId);

    /**
     * 查询房屋相册信息列表
     *
     * @param housePicture 房屋相册信息
     * @return 房屋相册信息集合
     */
    List<HousePicture> selectHousePictureList(HousePicture housePicture);

    /**
     * 新增房屋相册信息
     *
     * @param housePicture 房屋相册信息
     * @return 结果
     */
    int insertHousePicture(HousePicture housePicture);

    /**
     * 修改房屋相册信息
     *
     * @param housePicture 房屋相册信息
     * @return 结果
     */
    int updateHousePicture(HousePicture housePicture);

    /**
     * 批量删除房屋相册信息
     *
     * @param housePictureIds 需要删除的房屋相册信息主键集合
     * @return 结果
     */
     int deleteHousePictureByHousePictureIds(Long[] housePictureIds);

    /**
     * 删除房屋相册信息信息
     *
     * @param housePictureId 房屋相册信息主键
     * @return 结果
     */
     int deleteHousePictureByHousePictureId(Long housePictureId);

     /**
     * 批量插入房屋相册信息
     *
     * @param housePictureList 房屋相册信息集合
     * @return 结果
     */
    int insertBatchHousePicture(List<HousePicture> housePictureList);

    /**
     * 根据工单id查询房屋相册信息
     *
     * @param workOrderId 工单id
     * @return 房屋相册信息
     */
    HousePicture selectHousePictureByWorkOrderId(String workOrderId);

    /**
     * 封装房屋相册信息
     *
     * @param housePicture 房屋相册信息
     * @return 房屋相册信息集合
     */
    List<HousePicture> packagingHousePictureList(HousePicture housePicture);
}
